﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using BlueLotus7.Common;

namespace BlueLotus7.ArchiveSystem.Common
{
    [DataContract]
    public class ArchivedArticle : ArchivedObject, ICopyProperty<ArchivedArticle>
    {
        #region Property

        [DataMember]
        public Guid Owner
        {
            get;
            set;
        }

        #endregion

        public virtual void CopyProperty(ArchivedArticle container, ArchivedArticle objectToCopy)
        {
            if (container != null && objectToCopy != null)
            {
                base.CopyProperty(container, objectToCopy);
                container.Owner = objectToCopy.Owner;
            }
        }
    }
}
